home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-01-29 | 40.4 KB | 1,191 lines |
- Newsgroups: comp.sources.misc
- From: dvadura@plg.waterloo.edu (Dennis Vadura)
- Subject: v27i129: dmake - dmake Version 3.8, Part28/41
- Message-ID: <1992Jan28.214837.20083@sparky.imd.sterling.com>
- X-Md4-Signature: 228e26a883f43611c771f9473b97c02b
- Date: Tue, 28 Jan 1992 21:48:37 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: dvadura@plg.waterloo.edu (Dennis Vadura)
- Posting-number: Volume 27, Issue 129
- Archive-name: dmake/part28
- Environment: Atari-ST, Coherent, Mac, MSDOS, OS/2, UNIX
- Supersedes: dmake: Volume 19, Issue 22-58
-
- ---- Cut Here and feed the following to sh ----
- # this is dmake.shar.28 (part 28 of a multipart archive)
- # do not concatenate these parts, unpack them in order with /bin/sh
- # file dmake/os2/ibm/public.h continued
- #
- if test ! -r _shar_seq_.tmp; then
- echo 'Please unpack part 1 first!'
- exit 1
- fi
- (read Scheck
- if test "$Scheck" != 28; then
- echo Please unpack part "$Scheck" next!
- exit 1
- else
- exit 0
- fi
- ) < _shar_seq_.tmp || exit 1
- if test -f _shar_wnt_.tmp; then
- sed 's/^X//' << 'SHAR_EOF' >> 'dmake/os2/ibm/public.h' &&
- void Open_temp_error ANSI((char *, char *));
- void Link_temp ANSI((CELLPTR, FILE *, char *));
- void Close_temp ANSI((CELLPTR, FILE *));
- void Unlink_temp_files ANSI((CELLPTR));
- void Handle_result ANSI((int, int, int, CELLPTR));
- void Update_time_stamp ANSI((CELLPTR));
- int Remove_file ANSI((char *));
- void Parse ANSI((FILE *));
- int Get_line ANSI((char *, FILE *));
- char * Do_comment ANSI((char *, char **, int));
- char * Get_token ANSI((TKSTRPTR, char *, int));
- void Quit ANSI(());
- void Read_state ANSI(());
- void Write_state ANSI(());
- int Check_state ANSI((CELLPTR, STRINGPTR *, int));
- char* basename ANSI((char *));
- void Dump ANSI(());
- void Dump_recipe ANSI((STRINGPTR));
- int Parse_macro ANSI((char *, int));
- int Macro_op ANSI((char *));
- int Parse_rule_def ANSI((int *));
- int Rule_op ANSI((char *));
- void Add_recipe_to_list ANSI((char *, int, int));
- void Bind_rules_to_targets ANSI((int));
- int Set_group_attributes ANSI((char *));
- DFALINKPTR Match_dfa ANSI((char *));
- void Check_circle_dfa ANSI(());
- void Add_nfa ANSI((char *));
- char * Exec_function ANSI((char *));
- int runargv ANSI((CELLPTR, int, int, int, int, char *));
- void SetSessionTitle ANSI(());
- int Wait_for_child ANSI((int, int));
- void Clean_up_processes ANSI(());
- int _chdir ANSI((char *));
- int If_root_path ANSI((char *));
- time_t seek_arch ANSI((char*, char*));
- int touch_arch ANSI((char*, char*));
- void Remove_prq ANSI((CELLPTR));
- X
- #endif
- SHAR_EOF
- chmod 0640 dmake/os2/ibm/public.h ||
- echo 'restore of dmake/os2/ibm/public.h failed'
- Wc_c="`wc -c < 'dmake/os2/ibm/public.h'`"
- test 5541 -eq "$Wc_c" ||
- echo 'dmake/os2/ibm/public.h: original size 5541, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/ibm/startup.mk ==============
- if test -f 'dmake/os2/ibm/startup.mk' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/ibm/startup.mk (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/ibm/startup.mk' &&
- #NOTE: startup.mk file is called dmake.ini for OS/2
- # and is found in os2/mscdos/dmake.ini
- .INCLUDE : "os2/mscdos/dmake.ini"
- SHAR_EOF
- chmod 0640 dmake/os2/ibm/startup.mk ||
- echo 'restore of dmake/os2/ibm/startup.mk failed'
- Wc_c="`wc -c < 'dmake/os2/ibm/startup.mk'`"
- test 132 -eq "$Wc_c" ||
- echo 'dmake/os2/ibm/startup.mk: original size 132, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/ibm/tempnam.c ==============
- if test -f 'dmake/os2/ibm/tempnam.c' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/ibm/tempnam.c (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/ibm/tempnam.c' &&
- /*LINTLIBRARY*/
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
- #include <dos.h>
- X
- #if defined(max)
- # undef max
- #endif
- #define max(A,B) (((A)<(B))?(B):(A))
- X
- extern int access();
- int _access();
- X
- /* MSC stdio.h defines P_tmpdir, so let's undo it here */
- /* Under DOS leave the default tmpdir pointing here! */
- #ifdef P_tmpdir
- #undef P_tmpdir
- #endif
- static char *P_tmpdir = "";
- X
- char *
- tempnam(dir, prefix)
- char *dir; /* use this directory please (if non-NULL) */
- char *prefix; /* use this (if non-NULL) as filename prefix */
- {
- X static int count = 0;
- X register char *p, *q, *tmpdir;
- X int tl=0, dl=0, pl;
- X char buf[30];
- X
- X pl = strlen(P_tmpdir);
- X
- X if( (tmpdir = getenv("TMPDIR")) != NULL )
- X tl = strlen(tmpdir);
- X else if( (tmpdir = getenv("TMP")) != NULL )
- X tl = strlen(tmpdir);
- X if( dir != NULL ) dl = strlen(dir);
- X
- X if( (p = malloc((unsigned)(max(max(dl,tl),pl)+13))) == NULL )
- X return(NULL);
- X
- X *p = '\0';
- X
- X if( (tl == 0) || (_access( strcpy(p, tmpdir), 0) != 0) )
- X if( (dl == 0) || (_access( strcpy(p, dir), 0) != 0) )
- X if( _access( strcpy(p, P_tmpdir), 0) != 0 )
- X if( !prefix )
- X prefix = "tp";
- X
- X if(prefix)
- X {
- X *(p+strlen(p)+2) = '\0';
- X (void)strncat(p, prefix, 2);
- X }
- X
- #ifdef OS2
- X sprintf( buf, "%08x", getpid() );
- #else
- X sprintf( buf, "%08x", _psp );
- #endif
- X buf[6]='\0';
- X (void)strcat(p, buf );
- X sprintf( buf, "%04d", count++ );
- X q=p+strlen(p)-6;
- X *q++ = buf[0]; *q++ = buf[1];
- X *q++ = buf[2]; *q++ = buf[3];
- X
- X if( (q = strrchr(p,'.')) != NULL ) *q = '\0';
- X
- X return strlwr(p);
- }
- X
- X
- X
- _access( name, flag )
- char *name;
- int flag;
- {
- X char *p;
- X int r;
- X
- X if( name == NULL || !*name ) return(1); /* NULL dir means current dir */
- X p = name+strlen(name)-1;
- X if(*p == ':' ) strcat( p++, "\\" );
- X r = access( name, flag );
- X if(*p != '/' && *p != '\\') strcat( p, "\\" );
- X
- X return( r );
- }
- SHAR_EOF
- chmod 0640 dmake/os2/ibm/tempnam.c ||
- echo 'restore of dmake/os2/ibm/tempnam.c failed'
- Wc_c="`wc -c < 'dmake/os2/ibm/tempnam.c'`"
- test 1919 -eq "$Wc_c" ||
- echo 'dmake/os2/ibm/tempnam.c: original size 1919, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/config.h ==============
- if test ! -d 'dmake/os2/mscdos'; then
- mkdir 'dmake/os2/mscdos'
- fi
- if test -f 'dmake/os2/mscdos/config.h' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/config.h (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/config.h' &&
- /* RCS -- $Header: /u2/dvadura/src/generic/dmake/src/os2/mscdos/config.h,v 1.1 1992/01/24 03:29:25 dvadura Exp $
- -- SYNOPSIS -- Configurarion include file.
- --
- -- DESCRIPTION
- -- There is one of these for each specific machine configuration.
- -- It can be used to further tweek the machine specific sources
- -- so that they compile.
- --
- -- AUTHOR
- -- Dennis Vadura, dvadura@watdragon.uwaterloo.ca
- -- CS DEPT, University of Waterloo, Waterloo, Ont., Canada
- --
- -- COPYRIGHT
- -- Copyright (c) 1990 by Dennis Vadura. All rights reserved.
- --
- -- This program is free software; you can redistribute it and/or
- -- modify it under the terms of the GNU General Public License
- -- (version 1), as published by the Free Software Foundation, and
- -- found in the file 'LICENSE' included with this distribution.
- --
- -- This program is distributed in the hope that it will be useful,
- -- but WITHOUT ANY WARRANTY; without even the implied warrant of
- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- -- GNU General Public License for more details.
- --
- -- You should have received a copy of the GNU General Public License
- -- along with this program; if not, write to the Free Software
- -- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- --
- -- LOG
- -- $Log: config.h,v $
- X * Revision 1.1 1992/01/24 03:29:25 dvadura
- X * dmake Version 3.8, Initial revision
- X *
- */
- X
- #if defined (_MSC_VER)
- # if _MSC_VER < 500
- X Force a compile-time blowup.
- X Do not define define _MSC_VER for MSC compilers ealier than 5.0.
- # endif
- #endif
- X
- /* define this for configurations that don't have the coreleft function
- X * so that the code compiles. To my knowledge coreleft exists only on
- X * Turbo C, but it is needed here since the function is used in many debug
- X * macros. */
- #define coreleft() 0L
- X
- /* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */
- #ifndef SIGTERM
- # define SIGTERM SIGINT
- #endif
- X
- /* This should already be defined under C6.0, also for OS/2 we want buffering
- X * to minimise the mess during parallel makes.
- X */
- #ifndef _IOLBF
- # define _IOLBF _IOFBF
- #endif
- X
- /* in alloc.h: size_t is redefined
- X * defined in stdio.h which is included by alloc.h
- X */
- #if defined(MSDOS) && defined (_MSC_VER)
- # define _TYPES_
- #endif
- X
- /* Don't need this one either */
- #define CONST
- X
- /* in sysintf.c: SIGQUIT is used, this is not defined in MSC */
- #ifndef SIGQUIT
- # define SIGQUIT SIGTERM
- #endif
- X
- /* a small problem with pointer to voids on some unix machines needs this */
- #define PVOID void *
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/config.h ||
- echo 'restore of dmake/os2/mscdos/config.h failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/config.h'`"
- test 2570 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/config.h: original size 2570, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/config.mk ==============
- if test -f 'dmake/os2/mscdos/config.mk' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/config.mk (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/config.mk' &&
- # This is the MSC 4.0 and higher OS/2 configuration file for DMAKE
- # It simply modifies the values of SRC, and checks to see if
- # OSENVIRONMENT is defined. If so it includes the appropriate
- # config.mk file.
- #
- # It also sets the values of .SOURCE.c and .SOURCE.h to include the local
- # directory.
- #
- osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
- X
- # Definition of macros for library, and C startup code.
- X
- # The following sources are required for MSC
- OSR_SRC = tempnam.c
- .SETDIR=$(osrdir) : $(OSR_SRC)
- X
- SRC += $(OSR_SRC)
- .SOURCE.h : $(osrdir)
- X
- # Local configuration modifications for CFLAGS
- # OS/2 always has at least a 286 so this is enabled by default:
- CFLAGS += -G2
- X
- SET_STACK = /stack:8192
- NDB_LDFLAGS += $(SET_STACK)
- X
- # Microsoft C doesn't need tail but needs head
- LDTAIL = $(OS)$(DIRSEPSTR)$(TARGET:b).def;
- LDHEAD = $(LDFLAGS)
- X
- # Debugging libraries
- DB_LDFLAGS += /co /li /map $(SET_STACK)
- DB_LDLIBS +=
- X
- # NO Debug MSC flags:
- # Set the environment variable MSC_VER to be one of 4.0, 5.0, 5.1, or 6.0
- # to get these by default when you make dmake using 'dmake'.
- #
- # Setting MSC_VER to one of the above sets the variable _MSC_VER appropriately
- # and sets the flags appropriately.
- X
- .IMPORT .IGNORE : MSC_VER
- MSC_VER *= 6.0 # If unset, assume 6.0 by default.
- X
- .IF $(MSC_VER) == 4.0
- X CFLAGS += -I$(osrdir) $(C_$(MODEL):s/A/m/)
- X CFLAGS += -DM_I86=1 # 5.0+ define this automatically
- X CFLAGS += -D__STDC__=1 # 5.0, 5.1, but not 6.0 do this automatically
- X NDB_CFLAGS +=
- X DB_CFLAGS += -Zi
- .ELSE
- X DB_CFLAGS += -Zi
- X CFLAGS += -I$(osrdir) $(C_$(MODEL))
- X .IF $(MSC_VER) != 6.0
- X # For 5.0 and 5.1, we define _MSC_VER=500 or 510
- X CFLAGS += -D_MSC_VER=$(MSC_VER:s,.,,)0
- X NDB_CFLAGS += -Osl -Gs
- X .ELSE
- X # Microsoft C 6.0 auto defines _MSC_VER=600, but not __STDC__
- X CFLAGS += -D__STDC__=1 # incredibly not auto done by 6.0
- X NDB_CFLAGS += -Osecgl -Gs
- X
- X # Redefine rule for making our objects, we don't need mv
- X %$O : %.c ;% $(CC) -c $(CFLAGS) -Fo$@ $<
- X .END
- X NDB_LDFLAGS += /exe /packc /batch
- X NDB_LDLIBS += /NOD:LLIBCE LLIBCEP
- .END
- X
- # See if we modify anything in the lower levels.
- .IF $(OSENVIRONMENT) != $(NULL)
- X .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
- .END
- X
- C_s =
- C_m = -AM
- C_c = -AC
- C_l = -AL
- X
- S_s = -Dmsmall
- S_m = -Dmmedium
- S_c = -Dmcompact
- S_l = -Dmlarge
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/config.mk ||
- echo 'restore of dmake/os2/mscdos/config.mk failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/config.mk'`"
- test 2395 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/config.mk: original size 2395, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/dmake.ini ==============
- if test -f 'dmake/os2/mscdos/dmake.ini' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/dmake.ini (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/dmake.ini' &&
- # MSDOS DMAKE startup file. Customize to suit your needs.
- # Assumes MKS toolkit for the tool commands, and Microsoft C. Change as req'd.
- # See the documentation for a description of internally defined macros.
- #
- # Disable warnings for macros redefined here that were given
- # on the command line.
- __.SILENT := $(.SILENT)
- .SILENT := yes
- X
- # Configuration parameters for DMAKE startup.mk file
- # Set these to NON-NULL if you wish to turn the parameter on.
- _HAVE_RCS := yes # yes => RCS is installed.
- _HAVE_SCCS := # yes => SCCS is installed.
- X
- # Applicable suffix definitions
- A := .lib # Libraries
- E := .exe # Executables
- F := .for # Fortran
- O := .obj # Objects
- P := .pas # Pascal
- S := .asm # Assembler sources
- V := # RCS suffix
- X
- # See if these are defined
- TMPDIR := $(ROOTDIR)/tmp
- .IMPORT .IGNORE : TMPDIR SHELL COMSPEC
- X
- # Recipe execution configurations
- # First set SHELL, If it is not defined, use COMSPEC, otherwise
- # it is assumed to be MKS Korn SHELL.
- .IF $(SHELL) == $(NULL)
- .IF $(COMSPEC) == $(NULL)
- X SHELL := $(ROOTDIR)/bin/sh$E
- .ELSE
- X SHELL := $(COMSPEC)
- .END
- .END
- GROUPSHELL := $(SHELL)
- X
- # Now set remaining arguments depending on which SHELL we
- # are going to use. COMSPEC (assumed to be cmd.exe) or
- # MKS Korn Shell.
- .IF $(SHELL)==$(COMSPEC)
- X SHELLFLAGS := $(SWITCHAR)c
- X GROUPFLAGS := $(SHELLFLAGS)
- X SHELLMETAS := *"?<>|&
- X GROUPSUFFIX := .cmd
- X DIRSEPSTR := \\
- X DIVFILE = $(TMPFILE:s,/,\)
- .ELSE
- X SHELLFLAGS := -c
- X GROUPFLAGS :=
- X SHELLMETAS := *"?<>|()&][$$\#`'
- X GROUPSUFFIX := .ksh
- X .MKSARGS := yes
- X DIVFILE = $(TMPFILE:s,/,${DIVSEP_shell_${USESHELL}})
- X DIVSEP_shell_yes := \\\
- X DIVSEP_shell_no := \\
- .END
- X
- # Standard C-language command names and flags
- X CC := cl # C-compiler and flags
- X CFLAGS +=
- X
- X AS := masm # Assembler and flags
- X ASFLAGS +=
- X
- X LD = link # Loader and flags
- X LDFLAGS +=
- X LDLIBS =
- X
- # Definition of $(MAKE) macro for recursive makes.
- X MAKE = $(MAKECMD) $(MFLAGS)
- X
- # Language and Parser generation Tools and their flags
- X YACC := yacc # standard yacc
- X YFLAGS +=
- X YTAB := ytab # yacc output files name stem.
- X
- X LEX := lex # standard lex
- X LFLAGS +=
- X LEXYY := lex_yy # lex output file
- X
- # Other Compilers, Tools and their flags
- X PC := any_pc # pascal compiler
- X RC := anyf77 # ratfor compiler
- X FC := anyf77 # fortran compiler
- X
- X CO := co # check out for RCS
- X COFLAGS += -q
- X
- X AR := ar # archiver
- X ARFLAGS+= ruv
- X
- X RM := rm # remove a file command
- X RMFLAGS +=
- X
- # Implicit generation rules for making inferences.
- # We don't provide .yr or .ye rules here. They're obsolete.
- # Rules for making *$O
- X %$O : %.c ; $(CC) $(CFLAGS) -c $<
- X %$O : %$P ; $(PC) $(PFLAGS) -c $<
- X %$O : %$S ; $(AS) $(ASFLAGS) $(<:s,/,\);
- X %$O : %.cl ; class -c $<
- X %$O : %.e %.r %.F %$F ; $(FC) $(RFLAGS) $(EFLAGS) $(FFLAGS) -c $<
- X
- # Executables
- X %$E : %$O ; $(CC) $(LDFLAGS) -o$@ $< $(LDLIBS)
- X
- # lex and yacc rules
- X %.c : %.y ; $(YACC) $(YFLAGS) $<; mv $(YTAB).c $@
- X %.c : %.l ; $(LEX) $(LFLAGS) $<; mv $(LEXYY).c $@
- X
- # RCS support
- .IF $(_HAVE_RCS)
- X % : $$(@:d)RCS$$(DIRSEPSTR)$$(@:f)$V;- $(CO) $(COFLAGS) $@
- X .NOINFER : $$(@:d)RCS$$(DIRSEPSTR)$$(@:f)$V
- .END
- X
- # SCCS support
- .IF $(_HAVE_SCCS)
- X % : s.% ; get $<
- X .NOINFER : s.%
- .END
- X
- # Recipe to make archive files.
- %$A :
- [
- X $(AR) $(ARFLAGS) $@ $?
- X $(RM) $(RMFLAGS) $?
- ]
- X
- # DMAKE uses this recipe to remove intermediate targets
- .REMOVE :; $(RM) -f $<
- X
- # AUGMAKE extensions for SYSV compatibility
- @B = $(@:b)
- @D = $(@:d)
- @F = $(@:f)
- "*B" = $(*:b)
- "*D" = $(*:d)
- "*F" = $(*:f)
- <B = $(<:b)
- <D = $(<:d)
- <F = $(<:f)
- ?B = $(?:b)
- ?F = $(?:f)
- ?D = $(?:d)
- X
- # Turn warnings back to previous setting.
- .SILENT := $(__.SILENT)
- X
- # Local init file if any, gets parsed before user makefile
- .INCLUDE .IGNORE: "_startup.mk"
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/dmake.ini ||
- echo 'restore of dmake/os2/mscdos/dmake.ini failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/dmake.ini'`"
- test 3826 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/dmake.ini: original size 3826, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/lib.rsp ==============
- if test -f 'dmake/os2/mscdos/lib.rsp' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/lib.rsp (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/lib.rsp' &&
- \NOD:LLIBCE+
- LLIBCEP
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/lib.rsp ||
- echo 'restore of dmake/os2/mscdos/lib.rsp failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/lib.rsp'`"
- test 21 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/lib.rsp: original size 21, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/mk40.cmd ==============
- if test -f 'dmake/os2/mscdos/mk40.cmd' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/mk40.cmd (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk40.cmd' &&
- md objects
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 infer.c
- copy infer.obj objects
- del infer.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 make.c
- copy make.obj objects
- del make.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 stat.c
- copy stat.obj objects
- del stat.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 expand.c
- copy expand.obj objects
- del expand.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 dmstring.c
- copy dmstring.obj objects
- del dmstring.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 hash.c
- copy hash.obj objects
- del hash.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 dag.c
- copy dag.obj objects
- del dag.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 dmake.c
- copy dmake.obj objects
- del dmake.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 path.c
- copy path.obj objects
- del path.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 imacs.c
- copy imacs.obj objects
- del imacs.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 sysintf.c
- copy sysintf.obj objects
- del sysintf.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 parse.c
- copy parse.obj objects
- del parse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 getinp.c
- copy getinp.obj objects
- del getinp.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 quit.c
- copy quit.obj objects
- del quit.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 state.c
- copy state.obj objects
- del state.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 basename.c
- copy basename.obj objects
- del basename.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 dmdump.c
- copy dmdump.obj objects
- del dmdump.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 macparse.c
- copy macparse.obj objects
- del macparse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 rulparse.c
- copy rulparse.obj objects
- del rulparse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 percent.c
- copy percent.obj objects
- del percent.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 function.c
- copy function.obj objects
- del function.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 os2\ruletab.c
- copy ruletab.obj objects
- del ruletab.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 os2\runargv.c
- copy runargv.obj objects
- del runargv.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 os2\_chdir.c
- copy _chdir.obj objects
- del _chdir.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 os2\switchar.c
- copy switchar.obj objects
- del switchar.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 msdos\dirbrk.c
- copy dirbrk.obj objects
- del dirbrk.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 msdos\arlib.c
- copy arlib.obj objects
- del arlib.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 unix\rmprq.c
- copy rmprq.obj objects
- del rmprq.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mL -DM_I86=1 -D__STDC__=1 os2\mscdos\tempnam.c
- copy tempnam.obj objects
- del tempnam.obj
- copy os2\mscdos\startup.mk startup.mk
- link /stack:8192 @os2\mscdos\obj.rsp,dmake.exe,NUL.MAP,,os2\dmake.def;
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/mk40.cmd ||
- echo 'restore of dmake/os2/mscdos/mk40.cmd failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/mk40.cmd'`"
- test 3490 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/mk40.cmd: original size 3490, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/mk50.cmd ==============
- if test -f 'dmake/os2/mscdos/mk50.cmd' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/mk50.cmd (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk50.cmd' &&
- md objects
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs infer.c
- copy infer.obj objects
- del infer.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs make.c
- copy make.obj objects
- del make.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs stat.c
- copy stat.obj objects
- del stat.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs expand.c
- copy expand.obj objects
- del expand.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs dmstring.c
- copy dmstring.obj objects
- del dmstring.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs hash.c
- copy hash.obj objects
- del hash.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs dag.c
- copy dag.obj objects
- del dag.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs dmake.c
- copy dmake.obj objects
- del dmake.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs path.c
- copy path.obj objects
- del path.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs imacs.c
- copy imacs.obj objects
- del imacs.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs sysintf.c
- copy sysintf.obj objects
- del sysintf.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs parse.c
- copy parse.obj objects
- del parse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs getinp.c
- copy getinp.obj objects
- del getinp.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs quit.c
- copy quit.obj objects
- del quit.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs state.c
- copy state.obj objects
- del state.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs basename.c
- copy basename.obj objects
- del basename.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs dmdump.c
- copy dmdump.obj objects
- del dmdump.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs macparse.c
- copy macparse.obj objects
- del macparse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs rulparse.c
- copy rulparse.obj objects
- del rulparse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs percent.c
- copy percent.obj objects
- del percent.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs function.c
- copy function.obj objects
- del function.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs os2\ruletab.c
- copy ruletab.obj objects
- del ruletab.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs os2\runargv.c
- copy runargv.obj objects
- del runargv.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs os2\_chdir.c
- copy _chdir.obj objects
- del _chdir.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs os2\switchar.c
- copy switchar.obj objects
- del switchar.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs msdos\dirbrk.c
- copy dirbrk.obj objects
- del dirbrk.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs msdos\arlib.c
- copy arlib.obj objects
- del arlib.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs unix\rmprq.c
- copy rmprq.obj objects
- del rmprq.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=500 -Osl -Gs os2\mscdos\tempnam.c
- copy tempnam.obj objects
- del tempnam.obj
- copy os2\mscdos\startup.mk startup.mk
- link /stack:8192 /exe /packc /batch @os2\mscdos\obj.rsp,dmake.exe,NUL.MAP,,os2\dmake.def;
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/mk50.cmd ||
- echo 'restore of dmake/os2/mscdos/mk50.cmd failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/mk50.cmd'`"
- test 3509 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/mk50.cmd: original size 3509, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/mk51.cmd ==============
- if test -f 'dmake/os2/mscdos/mk51.cmd' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/mk51.cmd (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk51.cmd' &&
- md objects
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs infer.c
- copy infer.obj objects
- del infer.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs make.c
- copy make.obj objects
- del make.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs stat.c
- copy stat.obj objects
- del stat.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs expand.c
- copy expand.obj objects
- del expand.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs dmstring.c
- copy dmstring.obj objects
- del dmstring.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs hash.c
- copy hash.obj objects
- del hash.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs dag.c
- copy dag.obj objects
- del dag.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs dmake.c
- copy dmake.obj objects
- del dmake.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs path.c
- copy path.obj objects
- del path.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs imacs.c
- copy imacs.obj objects
- del imacs.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs sysintf.c
- copy sysintf.obj objects
- del sysintf.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs parse.c
- copy parse.obj objects
- del parse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs getinp.c
- copy getinp.obj objects
- del getinp.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs quit.c
- copy quit.obj objects
- del quit.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs state.c
- copy state.obj objects
- del state.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs basename.c
- copy basename.obj objects
- del basename.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs dmdump.c
- copy dmdump.obj objects
- del dmdump.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs macparse.c
- copy macparse.obj objects
- del macparse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs rulparse.c
- copy rulparse.obj objects
- del rulparse.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs percent.c
- copy percent.obj objects
- del percent.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs function.c
- copy function.obj objects
- del function.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs os2\ruletab.c
- copy ruletab.obj objects
- del ruletab.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs os2\runargv.c
- copy runargv.obj objects
- del runargv.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs os2\_chdir.c
- copy _chdir.obj objects
- del _chdir.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs os2\switchar.c
- copy switchar.obj objects
- del switchar.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs msdos\dirbrk.c
- copy dirbrk.obj objects
- del dirbrk.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs msdos\arlib.c
- copy arlib.obj objects
- del arlib.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs unix\rmprq.c
- copy rmprq.obj objects
- del rmprq.obj
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D_MSC_VER=510 -Osl -Gs os2\mscdos\tempnam.c
- copy tempnam.obj objects
- del tempnam.obj
- copy os2\mscdos\startup.mk startup.mk
- link /stack:8192 /exe /packc /batch @os2\mscdos\obj.rsp,dmake.exe,NUL.MAP,,os2\dmake.def;
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/mk51.cmd ||
- echo 'restore of dmake/os2/mscdos/mk51.cmd failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/mk51.cmd'`"
- test 3509 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/mk51.cmd: original size 3509, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/mk60.cmd ==============
- if test -f 'dmake/os2/mscdos/mk60.cmd' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/mk60.cmd (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk60.cmd' &&
- md objects
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\infer.obj infer.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\make.obj make.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\stat.obj stat.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\expand.obj expand.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\dmstring.obj dmstring.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\hash.obj hash.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\dag.obj dag.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\dmake.obj dmake.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\path.obj path.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\imacs.obj imacs.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\sysintf.obj sysintf.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\parse.obj parse.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\getinp.obj getinp.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\quit.obj quit.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\state.obj state.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\basename.obj basename.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\dmdump.obj dmdump.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\macparse.obj macparse.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\rulparse.obj rulparse.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\percent.obj percent.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\function.obj function.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\ruletab.obj os2\ruletab.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\runargv.obj os2\runargv.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\_chdir.obj os2\_chdir.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\switchar.obj os2\switchar.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\dirbrk.obj msdos\dirbrk.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\arlib.obj msdos\arlib.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\rmprq.obj unix\rmprq.c
- cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AL -D__STDC__=1 -Osecgl -Gs -Foobjects\tempnam.obj os2\mscdos\tempnam.c
- copy os2\mscdos\startup.mk startup.mk
- link /stack:8192 /exe /packc /batch @os2\mscdos\obj.rsp,dmake.exe,NUL.MAP,,os2\dmake.def;
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/mk60.cmd ||
- echo 'restore of dmake/os2/mscdos/mk60.cmd failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/mk60.cmd'`"
- test 3048 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/mk60.cmd: original size 3048, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/obj.rsp ==============
- if test -f 'dmake/os2/mscdos/obj.rsp' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/obj.rsp (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/obj.rsp' &&
- objects\infer.obj+
- objects\make.obj+
- objects\stat.obj+
- objects\expand.obj+
- objects\dmstring.obj+
- objects\hash.obj+
- objects\dag.obj+
- objects\dmake.obj+
- objects\path.obj+
- objects\imacs.obj+
- objects\sysintf.obj+
- objects\parse.obj+
- objects\getinp.obj+
- objects\quit.obj+
- objects\state.obj+
- objects\basename.obj+
- objects\dmdump.obj+
- objects\macparse.obj+
- objects\rulparse.obj+
- objects\percent.obj+
- objects\function.obj+
- objects\ruletab.obj+
- objects\runargv.obj+
- objects\_chdir.obj+
- objects\switchar.obj+
- objects\dirbrk.obj+
- objects\arlib.obj+
- objects\rmprq.obj+
- objects\tempnam.obj
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/obj.rsp ||
- echo 'restore of dmake/os2/mscdos/obj.rsp failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/obj.rsp'`"
- test 576 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/obj.rsp: original size 576, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/optoff.h ==============
- if test -f 'dmake/os2/mscdos/optoff.h' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/optoff.h (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/optoff.h' &&
- #if _MSC_VER < 600
- # pragma loop_opt(off)
- #endif
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/optoff.h ||
- echo 'restore of dmake/os2/mscdos/optoff.h failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/optoff.h'`"
- test 49 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/optoff.h: original size 49, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/public.h ==============
- if test -f 'dmake/os2/mscdos/public.h' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/public.h (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/public.h' &&
- /* RCS -- $Header$
- -- WARNING -- This file is AUTOMATICALLY GENERATED DO NOT EDIT IT
- --
- -- SYNOPSIS -- Local functions exported to be visible by others.
- --
- -- DESCRIPTION
- -- This file is generated by 'genpub'. Function declarations
- -- that appear in this file are extracted by 'genpub' from
- -- source files. Any function in the source file whose definition
- -- appears like:
- --
- -- PUBLIC return_type
- -- function( arg_list );
- -- type_expr1 arg1;
- -- ...
- --
- -- has its definition extracted and a line of the form:
- --
- -- return_type function ANSI((type_expr1,type_expr2,...));
- --
- -- entered into the output file.
- --
- -- AUTHOR
- -- Dennis Vadura, dvadura@watdragon.uwaterloo.ca
- -- CS DEPT, University of Waterloo, Waterloo, Ont., Canada
- --
- -- COPYRIGHT
- -- Copyright (c) 1990 by Dennis Vadura. All rights reserved.
- --
- -- This program is free software; you can redistribute it and/or
- -- modify it under the terms of the GNU General Public License
- -- (version 1), as published by the Free Software Foundation, and
- -- found in the file 'LICENSE' included with this distribution.
- --
- -- This program is distributed in the hope that it will be useful,
- -- but WITHOUT ANY WARRANTY; without even the implied warrant of
- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- -- GNU General Public License for more details.
- --
- -- You should have received a copy of the GNU General Public License
- -- along with this program; if not, write to the Free Software
- -- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- --
- -- LOG
- -- $Log$
- */
- X
- #ifndef _DMAKE_PUBLIC_h
- #define _DMAKE_PUBLIC_h
- X
- void Infer_recipe ANSI((CELLPTR, CELLPTR));
- int Make_targets ANSI(());
- int Exec_commands ANSI((CELLPTR));
- void Print_cmnd ANSI((char *, int, int));
- void Pop_dir ANSI((int));
- void Append_line ANSI((char *, int, FILE *, char *, int, int));
- void Stat_target ANSI((CELLPTR, int));
- char * Expand ANSI((char *));
- char * Apply_edit ANSI((char *, char *, char *, int, int));
- void Map_esc ANSI((char *));
- char* Apply_modifiers ANSI((int, char *));
- char* Tokenize ANSI((char *, char *));
- char * _strjoin ANSI((char *, char *, int, int));
- char * _stradd ANSI((char *, char *, int));
- char * _strapp ANSI((char *, char *));
- char * _strdup ANSI((char *));
- char * _strdup2 ANSI((char *));
- char * _strpbrk ANSI((char *, char *));
- char * _strspn ANSI((char *, char *));
- char * _strstr ANSI((char *, char *));
- char * _substr ANSI((char *, char *));
- uint16 Hash ANSI((char *, uint32 *));
- HASHPTR Get_name ANSI((char *, HASHPTR *, int));
- HASHPTR Search_table ANSI((HASHPTR *, char *, uint16 *, uint32 *));
- HASHPTR Def_macro ANSI((char *, char *, int));
- CELLPTR Def_cell ANSI((char *));
- LINKPTR Add_prerequisite ANSI((CELLPTR, CELLPTR, int, int));
- void Clear_prerequisites ANSI((CELLPTR));
- int Test_circle ANSI((CELLPTR, int));
- STRINGPTR Def_recipe ANSI((char *, STRINGPTR, int, int));
- t_attr Rcp_attribute ANSI((char *));
- int main ANSI((int, char **));
- FILE * Openfile ANSI((char *, int, int));
- FILE * Closefile ANSI(());
- FILE * Search_file ANSI((char *, char **));
- char * Filename ANSI(());
- int Nestlevel ANSI(());
- void No_ram ANSI(());
- int Usage ANSI((int));
- int Version ANSI(());
- char * Get_suffix ANSI((char *));
- char * Build_path ANSI((char *, char *));
- void Make_rules ANSI(());
- void Create_macro_vars ANSI(());
- time_t Do_stat ANSI((char *, char *, char **));
- int Do_touch ANSI((char *, char *, char **));
- void Void_lib_cache ANSI((char *, char *));
- time_t Do_time ANSI(());
- int Do_cmnd ANSI((char *, int, int, CELLPTR, int, int, int));
- char ** Pack_argv ANSI((int, int, char *));
- char * Read_env_string ANSI((char *));
- int Write_env_string ANSI((char *, char *));
- void ReadEnvironment ANSI(());
- void Catch_signals ANSI((void (*)()));
- void Clear_signals ANSI(());
- void Prolog ANSI((int, char* []));
- void Epilog ANSI((int));
- char * Get_current_dir ANSI(());
- int Set_dir ANSI((char*));
- char Get_switch_char ANSI(());
- FILE* Get_temp ANSI((char **, char *, int));
- FILE * Start_temp ANSI((char *, CELLPTR, char **));
- void Open_temp_error ANSI((char *, char *));
- void Link_temp ANSI((CELLPTR, FILE *, char *));
- void Close_temp ANSI((CELLPTR, FILE *));
- void Unlink_temp_files ANSI((CELLPTR));
- void Handle_result ANSI((int, int, int, CELLPTR));
- void Update_time_stamp ANSI((CELLPTR));
- int Remove_file ANSI((char *));
- void Parse ANSI((FILE *));
- int Get_line ANSI((char *, FILE *));
- char * Do_comment ANSI((char *, char **, int));
- char * Get_token ANSI((TKSTRPTR, char *, int));
- void Quit ANSI(());
- void Read_state ANSI(());
- void Write_state ANSI(());
- int Check_state ANSI((CELLPTR, STRINGPTR *, int));
- char* basename ANSI((char *));
- void Dump ANSI(());
- void Dump_recipe ANSI((STRINGPTR));
- int Parse_macro ANSI((char *, int));
- int Macro_op ANSI((char *));
- int Parse_rule_def ANSI((int *));
- int Rule_op ANSI((char *));
- void Add_recipe_to_list ANSI((char *, int, int));
- void Bind_rules_to_targets ANSI((int));
- int Set_group_attributes ANSI((char *));
- DFALINKPTR Match_dfa ANSI((char *));
- void Check_circle_dfa ANSI(());
- void Add_nfa ANSI((char *));
- char * Exec_function ANSI((char *));
- int runargv ANSI((CELLPTR, int, int, int, int, char *));
- void SetSessionTitle ANSI(());
- int Wait_for_child ANSI((int, int));
- void Clean_up_processes ANSI(());
- int _chdir ANSI((char *));
- int If_root_path ANSI((char *));
- time_t seek_arch ANSI((char*, char*));
- int touch_arch ANSI((char*, char*));
- void Remove_prq ANSI((CELLPTR));
- X
- #endif
- SHAR_EOF
- chmod 0640 dmake/os2/mscdos/public.h ||
- echo 'restore of dmake/os2/mscdos/public.h failed'
- Wc_c="`wc -c < 'dmake/os2/mscdos/public.h'`"
- test 5541 -eq "$Wc_c" ||
- echo 'dmake/os2/mscdos/public.h: original size 5541, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= dmake/os2/mscdos/startup.mk ==============
- if test -f 'dmake/os2/mscdos/startup.mk' -a X"$1" != X"-c"; then
- echo 'x - skipping dmake/os2/mscdos/startup.mk (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/startup.mk' &&
- #NOTE: startup.mk file is called dmake.ini for OS/2
- SHAR_EOF
- true || echo 'restore of dmake/os2/mscdos/startup.mk failed'
- fi
- echo 'End of part 28, continue with part 29'
- echo 29 > _shar_seq_.tmp
- exit 0
- exit 0 # Just in case...
-